package io.renren.vo;

import io.renren.common.utils.Constant;
import lombok.Data;

import java.util.Map;

@Data
public class HalfHourVo {
    String t0;
    String t1;
    String t2;
    String t3;
    String t4;
    String t5;
    String t6;
    String t7;
    String t8;
    String t9;
    String t10;
    String t11;
    String t12;
    String t13;
    String t14;
    String t15;
    String t16;
    String t17;
    String t18;
    String t19;
    String t20;
    String t21;
    String t22;
    String t23;
    String t24;
    String t25;
    String t26;
    String t27;
    String t28;
    String t29;
    String t30;
    String t31;
    String t32;
    String t33;
    String t34;
    String t35;
    String t36;
    String t37;
    String t38;
    String t39;
    String t40;
    String t41;
    String t42;
    String t43;
    String t44;
    String t45;
    String t46;
    String t47;

    public static Map<String, String> bookedConvert(Map<String, String> map, Integer start, Integer end) {
        String T = "t";

        for (int i = start; i <= end; i++) {
            map.put(T + String.valueOf(i), Constant.RoomTimeState.BOOKED.getValue());
        }

        return map;
    }
}
